#include <stdio.h>

struct student
{
    char *name;
    float score1;
    float score2;
    float score3;
    float score4;
    float score5;
};

int main()
{
    struct student stus[4] = {
        {"aa", 1,2,3,4,88},
        {"bb", 1,2,3,4,5},
        {"cc", 1,2,3,4,5},
        {"dd", 1,2,3,4,5}
    };

    for(int i=0; i<4; i++){
        struct student stu = stus[i];
        float avg = (stu.score1 + stu.score2 + stu.score3
            + stu.score4 + stu.score5) / 5;
        printf("第%d个学生，名称=%s，平均分=%f\n",i, stu.name,avg);
    }

    return 0;
}
